﻿using System;
using Engine.Result;

namespace InterfaceService.Testing
{
    public interface ITestingService
    {
        event EventHandler<TestState> OnTestStateChanged;
        event EventHandler<ChipResult> OnTestDataReceived;
        event EventHandler<Exception> OnError;
        //event EventHandler<LotInfo> OnLotInfoReceived; //TODO

        bool IsManualTest { get; set; }

        void ManualStart(int itemIdx, int testTimes, int testInterval, bool continueLighting);
        void Start();
        void Stop();
        void EmitChip();
    }
}
